#pragma once
#define _USE_MATH_DEFINES // ��� C++
#include <cmath>
#include "Point.h"
//#include "List.h"


class Circle 
{
	Point center;
	double m_radius;

public:
	Circle(const Point& point, const double radius)
		:center(point), m_radius(radius) {};//constructor: point - radius
	Circle(const double x = 0, const double y = 0, const double radius = 0)
		:center(x, y), m_radius(radius) {}; //constructor: coordinate of point - radius 
	Circle(const Circle&); //copy-constructor
	~Circle();//destructor

	void Set_x(double x) {  }
	double Get_area();
	bool operator==(const Circle&) const;
	
	friend std::ostream& operator<<(std::ostream& os, const Circle& circle);
	friend Circle& operator>>(std::ifstream& file, Circle& circle);
	
}; 

std::ostream& operator<<(std::ostream& os, const Circle& circle);
Circle& operator>>(std::ifstream& file, Circle& circle);
